<%--
功能: 商品列表排序选择框
--%>
<%@ tag body-content="empty" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ attribute name="orderby" required="false" rtexprvalue="true"  type="java.lang.String" description="排序" %>
<select id="sc_orderby" name="orderby" style="width:150px;" class="selecttxt">
	<option value="" <c:if test="${empty orderby}">selected</c:if>><fmt:message key="product.orderby.0"/></option>
	<c:forEach begin="0" end="17" varStatus="status">
		<option value="${status.index+1}" <c:if test="${orderby==(status.index+1)}">selected</c:if>><fmt:message key="product.orderby.${status.index+1}"/></option>
	</c:forEach>
</select>
